<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>


<div id="ldhMenu" class="menu">
	<div class="menu_box">
		<div class="menu_top">
			<p class="logo">
				<img src="${ctx}/v1/h5/img/logo.png" />
			</p>
		</div>
		<div class="menu_list">
			<ul>
				<li><a data-transition="none" rel="external"   href="${ctx}/h5/index.shtml"><i><img
							src="${ctx}/v1/h5/img/menu_1.png" /></i><span>首页</span></a></li>
				<li><a data-transition="none" rel="external"   href="${ctx}/h5/login.shtml?fromPage=ldhCart"><i><img
							src="${ctx}/v1/h5/img/menu_2.png" /></i><span>购物车</span></a></li>
				<li><a data-transition="none" rel="external"  href="${ctx}/h5/login.shtml?fromPage=ldhMine"><i><img
							src="${ctx}/v1/h5/img/menu_3.png" /></i><span>我的</span></a></li>
				<%-- <li><a data-transition="none" href="#"><i><img src="${ctx}/v1/h5/img/menu_4.png"/></i><span>我的店铺</span></a></li> --%>
				<%-- <li><a data-transition="none" href="#"><i><img src="${ctx}/v1/h5/img/menu_5.png"/></i><span>更多</span></a></li> --%>
			</ul>
		</div>
		<div class="menu_close" onClick="hideMenu()"></div>
	</div>
	

</div>
	<script type="text/javascript">
	 
	 seajs.use([ctx+'/v1/h5/js/custom/base/component-base.js?'+Date.parse(new Date())],function(m){
			m.init(m);
			
			if(m.getCookie("userId")!=""){
				$("#ldhMenu .menu_list li:eq(1) a").attr("href",ctx+"/h5/cart.shtml");
				$("#ldhMenu .menu_list li:eq(2) a").attr("href",ctx+"/h5/mine.shtml");
			}
			var url=window.location.href;
			
			if(url.indexOf("PCindex.shtml")>=0){
				$("#ldhNav").hide();
				//alert("hide")
			}else{
				$("#ldhNav").show();
				//alert("show")
			}
			
		});

   </script>
</body>
</html>
